package cn.com.b2office.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * �û����͵�ַ
 * 
 * @author wangtao.upc@gmail.com
 * @hibernate.class table="address" lazy="false"
 * 
 */
public class MemberAddress implements Serializable {

	private static final long serialVersionUID = -9100255941097736820L;

	private String addidno = null;

	private String memberid = null; /* ��Ա member.memberid */

	private int flag = 0;	//  0一般配送地址；1注册地址

	private int province = 0; /* ����ʡ */

	private int city = 0; /* ������ */

	private int district = 0; /* ���������� */

	private int countyid = 0; /* �������� county.idno */

	private String cname = null; /* �ջ����� */

	private String email = null; /* �ʼ���ַ */

	private String tel = null; /* ��ͥ�绰 */

	private String officetel = null;/* �칫�绰 */

	private String mobil = null; /* �ֻ� */

	private String addr = null; /* ��ַ */
	/**
	 * 地址是否被审核过 
	 * 当address.province;address.city;address.district;address.countyid;address.addr 发生改变时把该字段置为0，
	 * 如果订单配送到这个地址，则呼叫中心审核订单时用红颜色的字体显示“该地址需要审核”,审核确认后该字段置为1 
	 */
	private int addrflag = 0;/* ��ַ�Ƿ���˹� 0δ��� 1��� */   //

	private String zipcode = null; /* �������� */

	private int deleted = 0; ///*是否删除标志，0不删除；1删除  会员删除送货地址时标识此字段*/

	private Date modifytime = null; /* ����޸�ʱ�� (��ݿ��Զ�����) */

	/**
	 * 
	 * @return addr
	 * @hibernate.property column="addr" type="java.lang.String"
	 */
	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	/**
	 * 
	 * @return city
	 * @hibernate.property column="city" type="java.lang.Integer"
	 */
	public int getCity() {
		return city;
	}

	public void setCity(int city) {
		this.city = city;
	}

	/**
	 * 
	 * @return cname
	 * @hibernate.property column="cname" type="java.lang.String"
	 */
	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	/**
	 * 
	 * @return countyid
	 * @hibernate.property column="countyid" type="java.lang.Integer"
	 */
	public int getCountyid() {
		return countyid;
	}

	public void setCountyid(int countyid) {
		this.countyid = countyid;
	}

	/**
	 * 
	 * @return deleted
	 * @hibernate.property column="deleted" type="java.lang.Integer"
	 */
	public int getDeleted() {
		return deleted;
	}

	public void setDeleted(int deleted) {
		this.deleted = deleted;
	}

	/**
	 * 
	 * @return district
	 * @hibernate.property column="district" type="java.lang.Integer"
	 */
	public int getDistrict() {
		return district;
	}

	public void setDistrict(int district) {
		this.district = district;
	}

	/**
	 * 
	 * @return email
	 * @hibernate.property column="email" type="java.lang.String"
	 */
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return return the idno
	 * @hibernate.id column="addidno" generator-class="assigned"
	 */
	public String getAddidno() {
		return addidno;
	}

	public void setAddidno(String addidno) {
		this.addidno = addidno;
	}

	/**
	 * 
	 * @return memberid
	 * @hibernate.property column="memberid" type="java.lang.String"
	 */
	public String getMemberid() {
		return memberid;
	}

	public void setMemberid(String memberid) {
		this.memberid = memberid;
	}

	/**
	 * 
	 * @return mobil
	 * @hibernate.property column="mobil" type="java.lang.String"
	 */
	public String getMobil() {
		return mobil;
	}

	public void setMobil(String mobil) {
		this.mobil = mobil;
	}

	/**
	 * 
	 * @return modifytime
	 * @hibernate.property column="modifytime" type="timestamp"
	 */
	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	/**
	 * 
	 * @return province
	 * @hibernate.property column="province" type="java.lang.Integer"
	 */
	public int getProvince() {
		return province;
	}

	public void setProvince(int province) {
		this.province = province;
	}

	/**
	 * 
	 * @return tel
	 * @hibernate.property column="tel" type="java.lang.String"
	 */
	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	/**
	 * 
	 * @return zipcode
	 * @hibernate.property column="zipcode" type="java.lang.String"
	 */
	public String getZipcode() {
		return zipcode;
	}

	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}

	/**
	 * 
	 * @return officetel
	 * @hibernate.property column="officetel" type="java.lang.String"
	 */
	public String getOfficetel() {
		return officetel;
	}

	public void setOfficetel(String officetel) {
		this.officetel = officetel;
	}

	/**
	 * 
	 * @return addrflag
	 * @hibernate.property column="addrflag" type="java.lang.Integer"
	 */
	public int getAddrflag() {
		return addrflag;
	}

	public void setAddrflag(int addrflag) {
		this.addrflag = addrflag;
	}

	/**
	 * 
	 * @return flag
	 * @hibernate.property column="flag" type="java.lang.Integer"
	 */
	public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

}
